package com.xbongbong.paas.model;

import com.xbongbong.paas.domain.entity.StageTimeoutRemindEntity;
import com.xbongbong.paas.toolbox.wrap.IModel;

import java.util.List;
import java.util.Map;

/**
 * @Auther: yingjianfeng
 * @Date: 2021/11/16 16:03
 * @Description:
 */
public interface StageTimeoutRemindModel extends IModel<StageTimeoutRemindEntity> {

    /**
     * 条件查询
     * @param param 查询条件
     * @return
     */
    @Override
    List<StageTimeoutRemindEntity> findEntitys(Map<String, Object> param);
    /**
     * 批量插入
     * @param list
     */
    void insertBatch(List<StageTimeoutRemindEntity> list);

    /**
     * 批量更新
     * @param stageTimeoutRemindEntityList
     * @param corpid
     */
    void updateBatch(List<StageTimeoutRemindEntity> stageTimeoutRemindEntityList, String corpid);

    StageTimeoutRemindEntity getByKey(Long id, String corpid);

    void deleteByIdIn(String corpid, List<Long> idIn);
}
